<template>
  <div>
    <Header-index :showBack="false" />
    <div class="clear_fix" style="margin-bottom:1rem">
      <shortVideoMain v-for="v in shortArr" :key="v.id" :data="v" />
    </div>
    <FooterIndex />
  </div>
</template>

<script>
import getLink from '@/api/getLink.js';

import shortVideoMain from '@/components/whs/video/shortvideo-main.vue';
export default {
  components: {
    shortVideoMain,
  },
  data() {
    return {
      shortArr: [],
    };
  },
  mounted() {
    getLink('/api/ShortVideo/sp').then(ok => {
      this.shortArr = ok.data;
    });
  },
};
</script>

<style scoped></style>
